Just in case you have a practical joker or two that like to place extremely long words into their locations to distort your showflat/showthreaded layouts you can do the following:<br /><br />In your showflat/showthreaded php scripts find this:<br /><br />
<br /> if ($Location) {<br /> $postrow[$i]['Location'] = "{$ubbt_lang['USER_LOC']} $Location";<br /> }<br /><br /><br />to this:<br /><br />
<br /> if ($Location) {<br /> if (strlen($Location) > 30) {<br /> $TitleText = $Location;<br /> $Location = substr($Location,0,30);<br /> $Location = "<span title=\"$TitleText\">$Location... </span>";<br /> }<br /> $postrow[$i]['Location'] = "{$ubbt_lang['USER_LOC']} $Location";<br /> }<br /><br /><br /><br />Current working example:<br />
http://www.threadsdev.com/threads/php/sh...amp;amp;fpart=1<br />(mouse over the location display to see the full text)